package com.fira.api.domain.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fira.edu.domain.*;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author henryGui
 * @version V1.0
 * @Title: StuRegistrationDTO
 * @Package com.fira.api.domain.dto
 * @Description: 新生报名对象
 * @date 2021-10-11 下午9:07
 */


public class StuRegistrationDTO {

    @NotNull(message = "学员信息不能为空")
    private EduStudent eduStudent; //学员信息

    private List<EduParent> parentList;//家长信息集合

    private List<EduStudentTakes> takesList;//接送时间信息集合

    @NotNull(message = "报课课时信息不能为空")
    @Valid
    private EduStudentCourse eduStudentCourse; //报课信息课时集合

    @NotNull(message = "结算信息不能为空")
    @Valid
    private EduStudentSettle eduStudentSettle; //结算信息


    public EduStudent getEduStudent() {
        return eduStudent;
    }

    public void setEduStudent(EduStudent eduStudent) {
        this.eduStudent = eduStudent;
    }

    public List<EduParent> getParentList() {
        return parentList;
    }

    public void setParentList(List<EduParent> parentList) {
        this.parentList = parentList;
    }

    public List<EduStudentTakes> getTakesList() {
        return takesList;
    }

    public void setTakesList(List<EduStudentTakes> takesList) {
        this.takesList = takesList;
    }

    public EduStudentCourse getEduStudentCourse() {
        return eduStudentCourse;
    }

    public void setEduStudentCourse(EduStudentCourse eduStudentCourse) {
        this.eduStudentCourse = eduStudentCourse;
    }

    public EduStudentSettle getEduStudentSettle() {
        return eduStudentSettle;
    }

    public void setEduStudentSettle(EduStudentSettle eduStudentSettle) {
        this.eduStudentSettle = eduStudentSettle;
    }
}
